package com.audaque.cloud.iqs.dbs;

import java.util.Map;

public class DbsUtils {
    public static String mapGetIgnoreCase(Map<String, Object> map, String key) {
        if (map == null || key == null) {
            return null;
        }
        Object o = map.get(key);
        if (o == null) {
            o = map.get(key.toUpperCase());
        }
        // 大小写都没有获取到
        if (o == null) {
            return null;
        }
        return o.toString();
    }
}
